package com.springsample.login.dao.impl;

import java.util.Map;

import org.springframework.stereotype.Repository;

import com.springsample.common.dao.impl.CommonDaoImpl;
import com.springsample.login.dao.LoginDao;

@Repository
public class LoginDaoImpl extends CommonDaoImpl implements LoginDao {
	
	public Map<String, Object> queryUser(String userId) {
		String querySql = "select * from tt_user where userid = ?";
		return (Map<String, Object>)super.getJdbcTemplate().queryForMap(querySql, userId);
	}

	public void save(Map<String, Object> userM) {
		
	}
	
}
